package core;

import java.util.List;
import core.entities.Card;

/**
 * Class modeling the currents Cards which already played
 * 
 * @author Nolan Potier
 * @version 1.0.0
 * 
 */
public class PlayedCards extends Cards {
    
    /**
     * First constructor 
     * 
     */
    public PlayedCards() {
        super();
    }
    
    /**
     * Second constructor
     * 
     * @param cards
     *              the targeted cards associated
     */
    public PlayedCards(List<Card> cards) {
        super(cards);
    }

	public Card getLastPlayedCard() {
		return getCards().get(getCards().size()-1);
	}
}
